public class test {
    public static void main(String[] args) {
        int count=0;
        int a=11;
        for (int i = 0; i <32 ; i++) {
            if((a&1)==1)
            {
                count++;
            }
            a>>>=1;
        }
        System.out.println(count);
    }
}
